<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>游戏大厅</title>
    <link rel="stylesheet" href="../../css/all.css">
    <jsp:useBean id="user" class="gamer.Bean.User" scope="session"/>
</head>
<body class="container">
<div>
    <div class="header">
        <img class="logo-img" src="../../img/logo.png" alt="logo">
        <div class="menu-div">
            <ul>
                <li><a href="../../index.jsp">首页</a></li>
                <li style="background-color: #BBB"><a href="gameMenu.jsp">游戏菜单</a></li>
                <%
                    if (user.getUser() == null)
                        out.print("<li><a href=\"../user/login.jsp\">登录</a></li>");
                    else
                        out.print("<li><a href=\"../user/userInfo.jsp\">用户中心</a></li>");
                %>
            </ul>
        </div>
    </div>
    <div class="main-div">
        <table>
            <tr>
                <td><a href="2048.jsp"><img src="../../img/2048.png" alt="2048"></a></td>
                <td><a href="snake.jsp"><img src="../../img/snake.png" alt="贪吃蛇"></a></td>
                <td><a href="tetris.jsp"><img src="../../img/tetris.png" alt="俄罗斯方块"></a></td>
                <td><a href="pinyinLink.jsp"><img src="../../img/pinyinLink.png" alt="拼音接龙"></a></td>
                <td><a href="wordLink.jsp"><img src="../../img/wordLink.png" alt="单词接龙"></a></td>
            </tr>
        </table>
    </div>
</div>
</body>
</html>